<?php
/**
 * @package orinoco.framework
 * @author Ryan Yonzon <rawswift@gmail.com>
 * @copyright Copyright 2008 Ryan Yonzon 
 * @license http://www.opensource.org/licenses/mit-license.php MIT License
 */

// define framework directories
define('ROOT_DIR', '../'); // set framework root dir

// libraries, plugins, vendors and classes
define('LIBRARY_DIR', ROOT_DIR . 'libs/'); // library directory
define('CLASSES', LIBRARY_DIR . 'classes/'); // classes directory
define('EXTS_DIR', LIBRARY_DIR . 'exts/'); // extensions and custom classes directory

define('CLASS_FRAMEWORK_DIR', CLASSES . 'framework/'); // core classes
define('CLASS_APPLICATION_DIR', CLASSES . 'application/'); // app classes
define('CLASS_REQUEST_DIR', CLASSES . 'request/'); // $_POST and $_GET method classes

// object-relational mapping
define('DATABASE_DIR', CLASSES . 'database/'); // database adapter directory
define('INTERFACE_DIR', DATABASE_DIR . 'adapter/'); // class interface directory
define('ADAPTER_DIR', DATABASE_DIR . 'adapter/'); // database adapter directory

define('PLUGIN_DIR', LIBRARY_DIR . 'plugins/'); // plugin classes
define('VENDOR_DIR', LIBRARY_DIR . 'vendors/'); // 3rd party classes/scripts

// application and public documents
define('APPLICATION_DIR', ROOT_DIR . 'apps/'); // application directory
define('PUBLIC_DIR', ROOT_DIR . 'pub/'); // public

// cofiguration directories
define('CONFIG_DIR', ROOT_DIR . 'config/'); // developer's configuration
define('CORE_CONFIG_DIR', LIBRARY_DIR . 'config/'); // core configuration	

// define application directories
define('CONTROLLER_DIR', 'controllers/'); // controllers
define('MODEL_DIR', 'models/'); // models
define('VIEW_DIR', 'views/'); // views

// template directories
define('CONTENT_DIR', 'views/contents/'); // content templates
define('LAYOUT_DIR', 'views/layouts/'); // layout templates
define('PARTIAL_DIR', 'views/partials/'); // partial templates

define('DEFAULT_LAYOUT', 'default'); // default layout	

// -EOF-